package com.uchedao.seller.http;

import com.uchedao.seller.BuildConfig;

/**
 * API服务端的信息
 * Created by zhengxizhen on 15/10/21.
 */
public class Api {

    public static class Net {
        public static String HOST = BuildConfig.API_HOST ? "http://testopenapi.uchedao.com/" : "http://openapi.uchedao.com/";
    }

    public static class Action {
        /**
         * 获取全局票据
         */
        public static String TOKEN = "token";
        /**
         * 实名认证提交接口
         */
        public static String USER_AUTH = "/user/auth";
        /**
         * 用户登录接口
         */
        public static String USER_LOGIN = "/user/login";
        /**
         * 用户注册
         */
        public static String USER_REGISTER = "/user/regdealer";
        /**
         * 用户修改密码
         */
        public static String USER_PASSWORD = "/user/password";
        /**
         * 机器码上传接口
         */
        public static String USER_JPUSH = "/user/jpush";
        /**
         * 手机获取验证码接口
         */
        public static String VALID_CODE = "/user/validcode";
    }
}
